package com.ruoyi.tongban.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 视频监控对象 ins_camera
 * 
 * @author caiyanshan
 * @date 2021-03-09
 */
public class InsCamera extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频监控id */
    private Long cameraId;

    /** 机构id */
    @Excel(name = "机构id")
    private Long institutionId;
    
    private String institutionName;
    
    private Long classId;//班级id
    
    private String className;//班级名称

    /** 视频监控名称 */
    @Excel(name = "视频监控名称")
    private String cameraName;

    /** rtmp地址 */
    @Excel(name = "rtmp地址")
    private String cameraRtmp;

    /** http地址 */
    @Excel(name = "http地址")
    private String cameraHttp;

    /** 设备生产厂家 */
    @Excel(name = "设备生产厂家")
    private String cameraManufacturer;

    /** 设备品牌 */
    @Excel(name = "设备品牌")
    private String cameraBrand;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String cameraModel;

    /** 视频监控状态:对应sys_dictionary表Status类型 */
    @Excel(name = "视频监控状态:对应sys_dictionary表Status类型")
    private Integer status;

    /** 失效时间 */
    @Excel(name = "失效时间")
    private String loseTime;
    
    /**工控机IP地址*/
    private String localIp;

    /** 拉流 */
    @Excel(name = "拉流")
    private String pullStream;

    /** 推流 */
    @Excel(name = "推流")
    private String pushStream;

    /** 缩略图id:对应sys_file表中的file_id */
    @Excel(name = "缩略图id:对应sys_file表中的file_id")
    private Long cameraHead;

    /** 在线状态:对应sys_dictionary表中的IsNot类型 */
    @Excel(name = "在线状态:对应sys_dictionary表中的IsNot类型")
    private Integer onlineStatus;
    
    public String getLocalIp() {
        return localIp;
    }
    
    public void setLocalIp(String localIp) {
        this.localIp = localIp;
    }
    
    public Long getClassId() {
        return classId;
    }
    
    public void setClassId(Long classId) {
        this.classId = classId;
    }
    
    public String getClassName() {
        return className;
    }
    
    public void setClassName(String className) {
        this.className = className;
    }
    
    public String getInstitutionName() {
        return institutionName;
    }
    
    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public void setCameraId(Long cameraId) 
    {
        this.cameraId = cameraId;
    }

    public Long getCameraId() 
    {
        return cameraId;
    }
    public void setInstitutionId(Long institutionId) 
    {
        this.institutionId = institutionId;
    }

    public Long getInstitutionId() 
    {
        return institutionId;
    }
    public void setCameraName(String cameraName) 
    {
        this.cameraName = cameraName;
    }

    public String getCameraName() 
    {
        return cameraName;
    }
    public void setCameraRtmp(String cameraRtmp) 
    {
        this.cameraRtmp = cameraRtmp;
    }

    public String getCameraRtmp() 
    {
        return cameraRtmp;
    }
    public void setCameraHttp(String cameraHttp) 
    {
        this.cameraHttp = cameraHttp;
    }

    public String getCameraHttp() 
    {
        return cameraHttp;
    }
    public void setCameraManufacturer(String cameraManufacturer) 
    {
        this.cameraManufacturer = cameraManufacturer;
    }

    public String getCameraManufacturer() 
    {
        return cameraManufacturer;
    }
    public void setCameraBrand(String cameraBrand) 
    {
        this.cameraBrand = cameraBrand;
    }

    public String getCameraBrand() 
    {
        return cameraBrand;
    }
    public void setCameraModel(String cameraModel) 
    {
        this.cameraModel = cameraModel;
    }

    public String getCameraModel() 
    {
        return cameraModel;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setLoseTime(String loseTime) 
    {
        this.loseTime = loseTime;
    }

    public String getLoseTime() 
    {
        return loseTime;
    }
    public void setPullStream(String pullStream) 
    {
        this.pullStream = pullStream;
    }

    public String getPullStream() 
    {
        return pullStream;
    }
    public void setPushStream(String pushStream) 
    {
        this.pushStream = pushStream;
    }

    public String getPushStream() 
    {
        return pushStream;
    }
    public void setCameraHead(Long cameraHead) 
    {
        this.cameraHead = cameraHead;
    }

    public Long getCameraHead() 
    {
        return cameraHead;
    }
    public void setOnlineStatus(Integer onlineStatus) 
    {
        this.onlineStatus = onlineStatus;
    }

    public Integer getOnlineStatus() 
    {
        return onlineStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cameraId", getCameraId())
            .append("institutionId", getInstitutionId())
            .append("cameraName", getCameraName())
            .append("cameraRtmp", getCameraRtmp())
            .append("cameraHttp", getCameraHttp())
            .append("cameraManufacturer", getCameraManufacturer())
            .append("cameraBrand", getCameraBrand())
            .append("cameraModel", getCameraModel())
            .append("status", getStatus())
            .append("loseTime", getLoseTime())
            .append("pullStream", getPullStream())
            .append("pushStream", getPushStream())
            .append("cameraHead", getCameraHead())
            .append("onlineStatus", getOnlineStatus())
            .toString();
    }
}
